#include<stdio.h>

int len(char c[])
{
	char *p=c;
	int sign,chang=0;
	while(*p!='\0')
	{
		chang++;
		p++; 
	}
	return chang;
}
int main()
{
	int chang=0;
	char c[100]={'\0'};
	gets(c);
	chang=len(c);
	printf("%d",chang);
	return 0;
}
